home *** CD-ROM | disk | FTP | other *** search
/ Enciclopedia Del Perro / Enciclopedia Del Perro.iso / info31 / dialup.sc_ / dialup.sc
Text File  |  1993-02-07  |  3KB  |  84 lines

  1. ;        DIALUP.SCR
  2. ;
  3. ; Use this template with the COMSCRPT command and Hayes compatible modems.  
  4. ; You must change the phone number, username, and password.
  5. ; If you change a modem command prefix, be sure to use uppercase characters.
  6. ;
  7. ; "AT" is the Hayes initialization string.  For other modems, consult your
  8. ; modem documentation and change if necessary.  Be sure to include a
  9. ; command (such as "&C1") that raises the Data Carrier Detect (DCD)
  10. ; when establishing a connection.  The following specific examples
  11. ; may serve as starting points:
  12. ;
  13. ; To operate a Telebit Qblazer in V.32 transmission mode (9600 baud):
  14. ; send AT&F&C1S48=1S50=0S51=4S58=2\r
  15. ;
  16. ; To operate a Telebit T2500 in V.32 transmission mode (9600 baud):
  17. ; send AT&FS48=1S50=0S51=4S58=2S61=100S66=1S131=1\r
  18. ;
  19. ; To operate a Telebit T3000 in V.32 transmission mode (9600 baud):
  20. ; send AT&F&C1S48=1S50=0S51=4S58=2\r
  21. ;
  22. ; To operate a modem which supports the Hayes Command Set with 
  23. ;    command extensions:
  24. send AT&F&C1\r
  25. ;
  26. ; Leave this first pause time at 1 second (the minimum time possible).
  27. ;
  28. pause 1
  29. ;
  30. ; "ATDT" is the Hayes touch-tone dialing prefix.  Replace "5551212"
  31. ; (and "230") with the phone number (and extension) of the remote site.  
  32. ; (The commas indicate a four-second pause before dialing the extension;
  33. ; add more commas for a longer pause.)
  34. ;
  35. send ATDT5551212,,,,230\r
  36. ;
  37. ; Pause to confirm that the physical layer is open
  38. ;
  39. poll physical open
  40. ;
  41. ; For most situations, a 8 second pause should suffice for the remote
  42. ; system to respond with a login prompt.  Change if necessary.
  43. ;
  44. pause 8
  45. ;
  46. ; Replace "username" with your SLIP or PPP login name (which may be
  47. ; different from your username on the remote system).
  48. ;
  49. send username\r
  50. ;
  51. ; For most situations, a 4 second pause should suffice for the remote
  52. ; system to respond with a password prompt.  Change if necessary.
  53. ;
  54. pause 4
  55. ;
  56. ; Replace "password" with your SLIP or PPP password (which may be
  57. ; different from your password on the remote system).
  58. ;
  59. send password\r
  60. ;
  61. ; For most situations, a 2 second pause should suffice for the remote
  62. ; system to respond to your password.  Change if necessary.
  63. ;
  64. pause 2
  65. ;
  66. ; Switch the packet driver from character mode to packet mode.
  67. ;
  68. changemode packet
  69. ;
  70. ; Send a request to open the LCP layer
  71. ;
  72. ; Note: Comscrpt ignores the following 3 commands if the SLIP kernel
  73. ;    (SLPDRV) is being used because SLIP does not have lcp and ipcp
  74. ;    layers.  If using SLIP the presence or absence of these commands
  75. ;    will not have an adverse effect.
  76. ;
  77. signal lcp open
  78. ;
  79. ; Pause to confirm that the lcp and ipcp layers are open.
  80. ;
  81. poll lcp open
  82. poll ipcp open
  83.  
  84.